<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta name="page-view-size" content="640*530" /> 
  <title>无标题文档</title> 
  <style type="text/css">
body {
	background-image:url(../imgs/system/wkt_zj.png);
	background-repeat: no-repeat;
	width:100%;
	height:100%;
}

.text{
	color:#9a0b03;
	font-weight:bold;
	text-align:center;
	vertical-align:middle;
	}
</style> 
	<%@include file="/commons/commons.jsp" %>
		<%
	String thisPageUrl=String.valueOf(session.getAttribute(SessionKey.SESSION_EPG_URL));
	%>
 </head> 
 <body> 
  <div style="position:absolute; top:362px; left:249px; width:167px; height:41px;">
   <a href="javascript:wzJump()"><img src="imgs/dot.gif" width="167" height="41" /></a>
  </div>   
  <script type="text/javascript">
	var pageUrl="<%=thisPageUrl%>";
  function wzJump(){
  	var partner="<%=current_partner%>";//判断华为中兴平台
  	var jump_url="";
  	var flagGroup=0;//0 默认是500info，根据pageurl判断是500info还是gdgexinghua
  	if(pageUrl.indexOf("ZJTELECOMG500info")>=0||pageUrl.indexOf("frame1041")>=0){
  		flagGroup=0;//百视通
  	}else if(pageUrl.indexOf("gdgexinghua")>=0||pageUrl.indexOf("frame1052")>=0){
  		flagGroup=1;//广电
  	}
  	if(pageUrl.indexOf("/EPG/jsp/")>0){
  		jump_url=pageUrl.substring(0,pageUrl.lastIndexOf("/jsp/")+5);
  		if(flagGroup==0){
  			jump_url=jump_url+"HWpublic2/en/Category.jsp";
		}else{
			jump_url=jump_url+"gdpublic/en/Category.jsp";
		}
  	}else if(pageUrl.indexOf("/iptvepg/")>0){
  		jump_url=pageUrl.substring(0,pageUrl.lastIndexOf("/iptvepg/")+9);
  		if(flagGroup==0){
  			jump_url=jump_url+"frame1021/portal.jsp";
  		}else{
  			jump_url=jump_url+"frame1028/portal.jsp";
  		}
  	}else{
  		jump_url=pageUrl;
  	}
  	window.location.href=jump_url;
  }
</script> 
 </body>
</html>